import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2024-04-07
 * Time: 23:18
 */
public class SpecialDemo {
    public static void main(String[] args) {
        // 准备数据
        List<String> list = new ArrayList<>();
        Collections.addAll(list,"aaa","bbb","ccc");

        // 转换成大写并输出
        list.stream().map(String::toUpperCase).forEach(System.out::println);
    }
}
